import BinaClient from "./BinaClient";
class WBinaClient extends BinaClient {
    constructor(proxy:boolean, apiKey:string, apiSecret:string) {
        super(proxy);
        this.apiKey = apiKey;
        this.apiSecret = apiSecret;
    }
    async getMyTrades(symbol:string):Promise<any> {
        let ret = await this.client.myTrades(symbol);
        if(ret && ret.data) {
            return ret.data
        }else{
            return [];
        }
    }
}
export default WBinaClient;